﻿<UserControl x:Class="Core.Features.Matching.MatchingGame"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:data="clr-namespace:Core.Features.Matching.Data"
    xmlns:ctrl="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    mc:Ignorable="d" d:DesignHeight="365" d:DesignWidth="480">
    <Grid x:Name="LayoutRoot" >
        <Path Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF000000" StrokeThickness="2" Fill="DarkGray" 
		        Data="F1 M 243,89.3333L 538.46,89.3333L 538.46,256.138L 286.667,256.139L 288,280.833L 269.675,256.138L 242.987,256.138L 243,89.3333 Z " 
		        Margin="8" UseLayoutRounding="False"/>
        <ctrl:Pivot Name="MainPivot">
        <ctrl:PivotItem>
            <Grid>
                <TextBlock Text="Sorry! We did not have enough time to finish this feature."
                    FontSize="40" TextWrapping="Wrap" HorizontalAlignment="Center"
                    MaxWidth="450"/>
                <Button Content="Go Back" HorizontalAlignment="Center" 
                        VerticalAlignment="Bottom" Margin="150,0,162,93" 
                        Command="{Binding CmdFinished}" />
            </Grid>
        </ctrl:PivotItem>
        <ctrl:PivotItem IsEnabled="False">
            <Grid>
                <Grid Margin="0,12,0,0">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition />
                        <RowDefinition />
                    </Grid.RowDefinitions>
                    <TextBlock Text="Matching Game" HorizontalAlignment="Center"
                       FontSize="30"/>
                    <Grid Grid.Row="1" Margin="15,0,15,0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition />
                            <ColumnDefinition />
                            <ColumnDefinition />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                            <ContentPresenter Content="{Binding Slot1}" Width="40" Grid.Column="0" />
                            <ContentPresenter Content="{Binding Slot2}" Width="40" Grid.Column="0" />
                            <ContentPresenter Content="{Binding Slot3}" Width="40" Grid.Column="0" />
                            <ContentPresenter Content="{Binding Slot4}" Width="40" Grid.Column="0" />
                    </Grid>
                    <TextBlock Text="Which one is blue?" HorizontalAlignment="Center"
                       Grid.Row="2" FontSize="20" />
                </Grid>
            </Grid>
        </ctrl:PivotItem>
    </ctrl:Pivot>
    </Grid>
</UserControl>
